import http from "@i/http"
//发送验证码
export const getAuthCodeApi = (params) =>http.get("/users/getAuthCode",{params})

//密码登陆
export const passwordLoginApi = (params) =>http.post("/users/login/password",params)
//微信登陆
export const wxLoginApi = (params) =>http.post("/users/login/wx",params)
//验证码登陆
export const authCodeLoginApi = (params) =>http.post("/users/login/authCode",params)



//服务协议文档
export const getTermsServiceDoc = (params) =>http.get("/doc/user.html",params)
//隐私政策文档
export const getPrivacyPolicyDoc = (params) =>http.get("/doc/privacyPolicy.html",params)




